package com.study.easyexcel.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;

import java.util.Date;

/**
 * 明细数据实体类
 */
public class DetailData {

    @ExcelProperty(value = "循环号")
    private Integer xhh;//循环号
    @ExcelProperty(value = "过程号")
    private Integer gch;//过程号

    @ExcelProperty(value = "记录号")
    private Integer jjl;//记录号
    @ExcelProperty(value = "工步号")
    private Integer gbh;//工步号
    @ExcelProperty(value = "工作模式")
    private String mode;//工作模式


    @ExcelProperty(value = "总时间")
    private String zsj;// 总时间

    @ExcelProperty(value = "工步时间")
    private String gbsj;// 工步时间

    @ExcelProperty(value = "电压(V)")
    private String dy;// 电压(V)

    @ExcelProperty(value = "电流(A)")
    private String dl;// 电流(A)

    @ExcelProperty(value = "容量(Ah)")
    private String rl;// 容量(Ah)

    @ExcelProperty(value = "能量(Wh)")
    private String nl;// 能量(Wh)

    @ExcelProperty(value = "功率(W)")
    private String gl;// 功率(W)

    @ExcelProperty(value = "阻抗(Ω)")
    private String zk;// 阻抗(Ω)

    @ExcelProperty(value = "内阻(mΩ)")
    private String nz;// 内阻(mΩ)

    @ExcelProperty(value = "系统记录时间")
    @DateTimeFormat("yyyy/MM/dd HH:mm:ss")
    private Date xtjlsj;// 系统记录时间

    @ExcelProperty(value = "温度1(℃)")
    private Double wd1;// 温度1(℃)

    @ExcelProperty(value = "温度2(℃)")
    private Double wd2;// 温度2(℃)

    @ExcelProperty(value = "温度3(℃)")
    private Double wd3;// 温度3(℃)

    @ExcelProperty(value = "温度4(℃)")
    private Double wd4;// 温度4(℃)

    @ExcelProperty(value = "最大单体温度(℃)")
    private String zddtwd;// 最大单体温度(℃)

    @ExcelProperty(value = "最小单体温度(℃)")
    private String zxdtwd;// 最小单体温度(℃)

    @ExcelProperty(value = "单体温度差(℃)")
    private String dtwc;// 单体温度差(℃)

    @ExcelProperty(value = "SOC(℃)")
    private String soc;// SOC(%)

    public Integer getXhh() {
        return xhh;
    }

    public void setXhh(Integer xhh) {
        this.xhh = xhh;
    }

    public Integer getGch() {
        return gch;
    }

    public void setGch(Integer gch) {
        this.gch = gch;
    }

    public Integer getJjl() {
        return jjl;
    }

    public void setJjl(Integer jjl) {
        this.jjl = jjl;
    }

    public Integer getGbh() {
        return gbh;
    }

    public void setGbh(Integer gbh) {
        this.gbh = gbh;
    }

    public String getMode() {
        return mode;
    }

    public void setMode(String mode) {
        this.mode = mode;
    }

    public String getZsj() {
        return zsj;
    }

    public void setZsj(String zsj) {
        this.zsj = zsj;
    }

    public String getGbsj() {
        return gbsj;
    }

    public void setGbsj(String gbsj) {
        this.gbsj = gbsj;
    }

    public String getDy() {
        return dy;
    }

    public void setDy(String dy) {
        this.dy = dy;
    }

    public String getDl() {
        return dl;
    }

    public void setDl(String dl) {
        this.dl = dl;
    }

    public String getRl() {
        return rl;
    }

    public void setRl(String rl) {
        this.rl = rl;
    }

    public String getNl() {
        return nl;
    }

    public void setNl(String nl) {
        this.nl = nl;
    }

    public String getGl() {
        return gl;
    }

    public void setGl(String gl) {
        this.gl = gl;
    }

    public String getZk() {
        return zk;
    }

    public void setZk(String zk) {
        this.zk = zk;
    }

    public String getNz() {
        return nz;
    }

    public void setNz(String nz) {
        this.nz = nz;
    }

    public Date getXtjlsj() {
        return xtjlsj;
    }

    public void setXtjlsj(Date xtjlsj) {
        this.xtjlsj = xtjlsj;
    }

    public Double getWd1() {
        return wd1;
    }

    public void setWd1(Double wd1) {
        this.wd1 = wd1;
    }

    public Double getWd2() {
        return wd2;
    }

    public void setWd2(Double wd2) {
        this.wd2 = wd2;
    }

    public Double getWd3() {
        return wd3;
    }

    public void setWd3(Double wd3) {
        this.wd3 = wd3;
    }

    public Double getWd4() {
        return wd4;
    }

    public void setWd4(Double wd4) {
        this.wd4 = wd4;
    }

    public String getZddtwd() {
        return zddtwd;
    }

    public void setZddtwd(String zddtwd) {
        this.zddtwd = zddtwd;
    }

    public String getZxdtwd() {
        return zxdtwd;
    }

    public void setZxdtwd(String zxdtwd) {
        this.zxdtwd = zxdtwd;
    }

    public String getDtwc() {
        return dtwc;
    }

    public void setDtwc(String dtwc) {
        this.dtwc = dtwc;
    }

    public String getSoc() {
        return soc;
    }

    public void setSoc(String soc) {
        this.soc = soc;
    }

    @Override
    public String toString() {
        return "DetailData{" +
                "xhh=" + xhh +
                ", gch=" + gch +
                ", jjl=" + jjl +
                ", gbh=" + gbh +
                ", mode='" + mode + '\'' +
                ", zsj='" + zsj + '\'' +
                ", gbsj='" + gbsj + '\'' +
                ", dy='" + dy + '\'' +
                ", dl='" + dl + '\'' +
                ", rl='" + rl + '\'' +
                ", nl='" + nl + '\'' +
                ", gl='" + gl + '\'' +
                ", zk='" + zk + '\'' +
                ", nz='" + nz + '\'' +
                ", xtjlsj=" + xtjlsj +
                ", wd1=" + wd1 +
                ", wd2=" + wd2 +
                ", wd3=" + wd3 +
                ", wd4=" + wd4 +
                ", zddtwd='" + zddtwd + '\'' +
                ", zxdtwd='" + zxdtwd + '\'' +
                ", dtwc='" + dtwc + '\'' +
                ", soc='" + soc + '\'' +
                '}';
    }
}
